import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

import sPullScroll from './components/sib-list/sib-list'
Vue.component('s-pull-scroll', sPullScroll)

/**
 * 保留两位小数
 */
Vue.filter('decimals', function(value) {
    // 返回处理后的值
    if (value) {
        return value.toFixed(2)
    }
})

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
